<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta http-equiv="Cache-Control" content="no-siteapp" />
 <link href="assets/css/bootstrap.min.css" rel="stylesheet" />
        <link rel="stylesheet" href="css/style.css"/>       
        <link href="assets/css/codemirror.css" rel="stylesheet">
        <link rel="stylesheet" href="assets/css/ace.min.css" />
        <link rel="stylesheet" href="font/css/font-awesome.min.css" />
        <!--[if lte IE 8]>
		  <link rel="stylesheet" href="assets/css/ace-ie.min.css" />
		<![endif]-->
		<script src="js/jquery-1.9.1.min.js"></script>
        <script src="assets/js/bootstrap.min.js"></script>
         
		<script src="assets/js/typeahead-bs2.min.js"></script>           	
		<script src="assets/js/jquery.dataTables.min.js"></script>
		<script src="assets/js/jquery.dataTables.bootstrap.js"></script>
        <script src="assets/layer/layer.js" type="text/javascript" ></script>          
        <script src="assets/laydate/laydate.js" type="text/javascript"></script>
		<script src="assets/dist/echarts.js"></script>
<title>订单信息</title>
</head>

<body>
<div class="margin clearfix">
 <div class="amounts_style">
          <span class="l_f">
        <a href="javascript:ovid()" onclick="member_zd(500)" id="member_add" class="btn btn-warning"><i class="icon-plus"></i>选择客户</a>
  </span>
   
	 <table class="table table-striped table-bordered table-hover" id="sample-table">
       <thead>
	    <th width="25px"><label><input type="checkbox" class="ace"><span class="lbl"></span></label></th>
          		 <th width="150px">订单编号</th>
				 <th width="150px">订单类型</th>
				  <th width="150px">原订编号</th>
				  <th width="150px">客户名称</th>
                  <th width="150px">产品型号</th>
                  <th width="120px">产品数量</th>
                  <th width="120px">产品颜色</th>
                  <th width="100px">生产线</th>
                  <th width="150px">开始日期</th>
				  <th width="150px">结束日期</th>
                  <th width="100px">状态</th>
				   <th width="100px">备注</th>
                  <th width="100px">操作</th>
		</tr>
		</thead>
        <tbody> 
 


         <tr>
		 <td><label><input type="checkbox" class="ace ace_cek"><span class="lbl"></span></label></td>
			  <td>201607080001</td>
			   <td>线上</td>
			  <td>1160705445622</td>
				  <td>旭派</td>
                  <td>48ma</td>
                  <td>3000</td>
                  <td>黑色</td>
                  <td>生产三线</td>
				  <td>2015-1-19</td>
                  <td>2015-1-21</td>
				 <td class="td-status"><span class="label label-danger radius">未发送</span></td>
				   <td>已生产</td>
			 <td>
				  <a title="订单详细"  href="order_send_detail.html"  class="btn btn-xs btn-info order_detailed" ><i class="fa fa-list bigger-120"></i></a> 
			</td>
        </tr>
		 <tr>
		  <td><label><input type="checkbox" class="ace ace_cek"><span class="lbl"></span></label></td>
			  <td>201607080001</td>
			   <td>线上</td>
			   <td>1160705445622</td>
				  <td>旭派</td>
                  <td>48ma</td>
                  <td>3000</td>
                  <td>黑色</td>
                  <td>生产三线</td>
                  <td>2015-1-19</td>
                  <td>2015-1-21</td>
				 <td class="td-status"><span class="label label-danger radius">未发送</span></td>
				  <td>未生产</td>
			 <td>
				  <a title="订单详细"  href="order_send_detail.html"  class="btn btn-xs btn-info order_detailed" ><i class="fa fa-list bigger-120"></i></a> 
			</td>
        </tr>
		  <tr>
		  <td><label><input type="checkbox" class="ace" ><span class="lbl"></span></label></td>
			  <td>201607080001</td> 
			   <td>线上</td>
			  <td>1160705445622</td>
				  <td>旭派</td>
                  <td>48ma</td>
                  <td>3000</td>
                  <td>黑色</td>
                  <td>生产三线</td>
                  <td>2015-1-19</td>
                  <td>2015-1-21</td>
			 <td class="td-status"><span class="label label-danger radius">未发送</span></td>
			 <td>未生产</td>
			 <td>
				  <a title="订单详细"  href="order_send_detail.html"  class="btn btn-xs btn-info order_detailed" ><i class="fa fa-list bigger-120"></i></a> 
			</td>
        </tr>
        </tbody>
        </table> 
    
   </div>
 </div>
</div>
 <!--添加用户图层-->
<div class="add_menber" id="add_menber_style" style="display:none">
  
    <ul class=" page-content">
 <!--<li><label class="label_name">订单编号：</label><span class="add_name"><select name='sldd' style='width:200px'>
  <option value='' selected>请选择订单</option>
  <option value=''>201605060212</option>
  <option value=''>201605060213</option>
  <option value=''>201605060214</option>
  <option value=''>201605060215</option>
    </select></span><div class="prompt r_f"></div></li> -->
     <div class="prompt r_f"></div>
     <li><label class="label_name" style="width:84px">订单编号：</label><span class="add_name"><input name="订单编号" vtype="text"value="19312312302"  class="text_add"/></span><div class="prompt r_f"></div></li>
     <li><label class="label_name">选择客户：</label><span class="add_name"><select name='sldd' style='width:200px'>
  <option value='' selected>选择客户</option>
  <option value=''>武汉客户</option>
  <option value=''>十堰客户</option>
  <option value=''>十堰客户</option>
  <option value=''>十堰客户</option>
    </select></span><div class="prompt r_f"></div></li>
    <li class="adderss"><label class="label_name" style="width:84px">备&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;注：</label><span class="add_name"><input name="备注"  value="追逐品质"type="text"  class="text_add" style=" width:350px"/></span><div class="prompt r_f"></div></li>

    </ul>
 </div> 

 </div> 
 <div id="main" style="height:400px; overflow:hidden; width:1000px; overflow:auto" ></div> 
</div>
</body>
</html>
<script>
	$(function(){
		$("#id").load("");
	})

 $('#member_add').on('click', function(){
 	 var ace_che=$('.ace_cek').is(':checked');
	 if(!ace_che){
	 layer.open({
	 title: '提示',
	 content:'请选择需发送的订单编号！'
	 })
	 return;
	 }
    layer.open({
        type: 1,
        title: '选择客户',
  maxmin: true, 
  shadeClose: true, //点击遮罩关闭层
        area : ['800px' , ''],
        content:$('#add_menber_style'),
  btn:['提交','取消'],
  yes:function(index,layero){ 
   var num=0;
   var str="";
     $(".add_menber input[type$='text']").each(function(n){
          if($(this).val()=="")
          {
               
      layer.alert(str+=""+$(this).attr("name")+"不能为空！\r\n",{
                title: '提示框',    
    icon:0,        
          }); 
      num++;
            return false;            
          } 
   });
    if(num>0){  return false;}   
          else{
     layer.alert('发送成功！',{
               title: '提示框',    
   icon:1,  
     });
      layer.close(index); 
    }               
  }
    });
});
</script>